﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using WeProjectsModel;

namespace WeProjects.Models
{
    public class MemberViewModel
    {
        public int ID { get; set; }
        public string Name { get; set; }
        public string DisplayName { get; set; }
        public string Phone { get; set; }
        public string Email { get; set; }
        public List<RoleSelectionModel> RoleList { get; set; }

        public IEnumerable<ProjectViewModel> OwnedProjects { get; set; }
        public IEnumerable<ProjectViewModel> JoinedProjects { get; set; }
        public IEnumerable<Document> UploadedDocuments { get; set; }
        public IEnumerable<NewsModel> AuthoredNews { get; set; }

    }
    public class RoleSelectionModel
    {
        public string RoleName { get; set; }
        public string TranslatedRoleName { get; set; }
        public bool IsSelected { get; set; }
    }
}